#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include<string>
using namespace std;

int main() {
    string q;
    while (cin >> q)
    {
        if (q[0] <= 'z' && q[0] >= 'a')
            cout << (char)(q[0] - 32);
        else
            cout << q[0];

    }
}